<?php
$doc = new DOMDocument();
$doc->load("xml/chamada.xml");
$chamadas = $doc->getElementsByTagName("chamada");
?>
<!DOCTYPE html>
<html>
    <head >
        <meta charset="utf-8">    
        <title> Chamada </title>
        <link href="css/estillo.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <div id="container">
            <a href="chamada.php">Lançar</a>
            <table >
                <tr>                    
                    <th>Data</th>
                 </tr>
                    <?php 
                    foreach ($chamadas as $chamada) {
                    ?>
                 <tr>
                    <td><?php  echo $chamada->getElementsByTagName("data")->item(0)->nodeValue; ?></td>
                    </tr>
                    <?php }?>
                
            </table>
        </div>
    </body>
</html>